<template>
  <div>
    <div>
      <router-link to="/props">1.props传参和自定义事件</router-link>
      <router-link to="/vmodel">2.v-model数据双向绑定</router-link>
      <router-link to="/sync">3.sync</router-link>
      <router-link to="/slot">4.Slot</router-link>
    </div>

    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style>
.one {
  margin: 20px;
}
</style>